package com.qqtech.qquan.circle.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CircleBase extends BaseDomain{
	/**
	 * 是否有抽奖
	 */
	private Integer isLottery;
	
	//columns START
    /** 圈主id(也是创建人Id) */
	private java.lang.Integer creatorId;

	/** 类型CircleBaseTypeDictEnum:1-官方;2-民间*/
	private java.lang.Integer type;

	/** 名称 */
	private java.lang.String name;
    /** 图片（单） */
	private java.lang.String logo;
    /** 说明 */
	private java.lang.String remark;
    /** 状态CircleStatusEnum:1-正常;2-删除;3-解散 */
	private java.lang.Integer status;
    /** 标签名称【如：妹子多、90后,多个以;号隔开】 */
	private java.lang.String tagName;
    /**圈子功能类型CircleFuncTypeEnum:1-全部(聊天和发话题);2-只能聊天;3-只能发话题**/
	private java.lang.Integer funcType;
    /**社区id**/
	private java.lang.Integer communityId;
	/**父级圈子id(用于子圈子定位源头圈子)**/
	private java.lang.Integer parentId;
	/**城市id**/
	private java.lang.Integer cityId;
	/**是否公开（1是：自由加入;2否：需要邀请加入）**/
	private java.lang.Integer openLevel;
	/**圈子分类id**/
	private java.lang.Integer categoryId;
	/**圈子分类名称（冗余为了方便搜索）**/
	private java.lang.String categoryName;
	/**是否推荐:1-是 2-否**/
	private java.lang.Integer isRecommend;
	/**推荐时间**/
	private java.sql.Timestamp recommendAt;	
	/**推荐排序位,越小越排在前面**/
	private java.lang.Integer recommendOidx;
	/**是否显示成员等级:1-是 2-否**/
	private java.lang.Integer isShowMemberGrade;
	/**圈子审核状态CircleAuditStatusEnum:1-待审核;2-审核通过;3-审核不通过**/
	private java.lang.Integer auditStatus;
	/**审核时间**/
	private java.sql.Timestamp auditAt;
	/**区域范围CircleZoneLevelDictEnum:1-单个社区;1-多个社区;3-城市;4-全国**/
	private java.lang.Integer zoneLevel;
	/** 扩展社区ids(多个以;号隔开) **/
	private java.lang.String extCommunityIds;
	//columns END
	public CircleBase(){
	}
	public CircleBase( java.lang.Integer id ){
		this.id = id;
	}
	public java.sql.Timestamp getAuditAt() {
		return auditAt;
	}

	public java.lang.Integer getAuditStatus() {
		return auditStatus;
	}
	public java.lang.Integer getCategoryId() {
		return categoryId;
	}

	public java.lang.String getCategoryName() {
		return categoryName;
	}

	public java.lang.Integer getCityId() {
		return cityId;
	}

	public java.lang.Integer getCommunityId() {
		return communityId;
	}
	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}

	public java.lang.Integer getFuncType() {
		return funcType;
	}
	
	public Integer getIsLottery() {
		return isLottery;
	}

	public java.lang.Integer getIsRecommend() {
		return isRecommend;
	}
	
	public java.lang.Integer getIsShowMemberGrade() {
		return isShowMemberGrade;
	}

	public java.lang.String getLogo() {
		return this.logo;
	}
	
	public java.lang.String getName() {
		return this.name;
	}

	public java.lang.Integer getOpenLevel() {
		return openLevel;
	}
	
	public java.lang.Integer getParentId() {
		return parentId;
	}

	public java.sql.Timestamp getRecommendAt() {
		return recommendAt;
	}
	
	public java.lang.String getRemark() {
		return this.remark;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public java.lang.String getTagName() {
		return this.tagName;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	

	public void setAuditAt(java.sql.Timestamp auditAt) {
		this.auditAt = auditAt;
	}

	public void setAuditStatus(java.lang.Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public void setCategoryId(java.lang.Integer categoryId) {
		this.categoryId = categoryId;
	}

	public void setCategoryName(java.lang.String categoryName) {
		this.categoryName = categoryName;
	}

	public void setCityId(java.lang.Integer cityId) {
		this.cityId = cityId;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public void setFuncType(java.lang.Integer funcType) {
		this.funcType = funcType;
	}

	public void setIsLottery(Integer isLottery) {
		this.isLottery = isLottery;
	}

	public void setIsRecommend(java.lang.Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public void setIsShowMemberGrade(java.lang.Integer isShowMemberGrade) {
		this.isShowMemberGrade = isShowMemberGrade;
	}

	public void setLogo(java.lang.String logo) {
		this.logo = logo;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public void setOpenLevel(java.lang.Integer openLevel) {
		this.openLevel = openLevel;
	}

	public void setParentId(java.lang.Integer parentId) {
		this.parentId = parentId;
	}

	public void setRecommendAt(java.sql.Timestamp recommendAt) {
		this.recommendAt = recommendAt;
	}

	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public void setTagName(java.lang.String tagName) {
		this.tagName = tagName;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	public java.lang.Integer getRecommendOidx() {
		return recommendOidx;
	}
	public void setRecommendOidx(java.lang.Integer recommendOidx) {
		this.recommendOidx = recommendOidx;
	}
	public java.lang.Integer getZoneLevel() {
		return zoneLevel;
	}
	public void setZoneLevel(java.lang.Integer zoneLevel) {
		this.zoneLevel = zoneLevel;
	}
	public java.lang.String getExtCommunityIds() {
		return extCommunityIds;
	}
	public void setExtCommunityIds(java.lang.String extCommunityIds) {
		this.extCommunityIds = extCommunityIds;
	}
}

